<?php

/**
 * Qlist template
 * designed to display a list of items
 * like list of divs, each one is a question,
 * for example 'all questions' or by tag or 'hot questions'
 * it has 3 parts;
 * title, body and pagination block
 * 
 * The reason that pagination is included
 * in this template is because we can send this parsed
 * 
 * template as ajax response, and it will be complete
 * with pagination.
 *
 */
class tplContent extends StudyBuddy\Template\Template {

    protected static $vars = array(
        'page' => '', // 1
    );
//    <div id="qpages">%3$s</div>
    protected static $tpl = '
        <!-- start listQuestions -->
        <div class="ctl-ct">
            <div class="ctl-box">
                <div>
                    <div>
                        <div style="margin-top: 30px;">
                            %1$s
                        </div>
                    </div>
                </div>
            </div>
        </div>';
}
